import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const Store = new Vuex.Store({
	state:{
		cartList:[
			{
				title:"小米10",
				num:1,
				price:4999,
				chosen:true,
				pic:"/static/image/select1.jpg"
			}
		]
	},
	mutations:{
		add
	}
});

export default Store;